﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 业务流程表
    /// </summary>
    public class BusinessProcessesNew
    {
        /// <summary>
        /// 实例Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string InstanceId { get; set; }

        public string BTID { get; set; }

        public Guid? ProcessId { get; set; }
        
        /// <summary>
        /// 流程状态编码
        /// </summary>
        public string ProcessStatusCode { get; set; }

        /// <summary>
        /// 流程状态名称
        /// </summary>
        public string ProcessStatusName { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string ProcessTopic { get; set; }

        /// <summary>
        /// 流程是否结束
        /// </summary>
        public bool IsEnd { get; set; }

        /// <summary>
        /// 发起时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 流程完成时间
        /// </summary>
        public DateTime? FinishTime { get; set; }

        /// <summary>
        /// 发起人id
        /// </summary>
        public Guid StartUserId { get; set; }

        /// <summary>
        /// 发起人
        /// </summary>
        public string StartUserName { get; set; }
        
    }
}
